package com.cjst.controller.api.sys;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cjst.pojo.base.MultiAccount;
import com.cjst.pojo.base.MultiAccountInfo;
import com.cjst.pojo.base.PersonInfo;
import com.cjst.service.base.MultiAccountInfoService;
import com.cjst.service.base.MultiAccountService;
import com.cjst.service.base.PersonInfoService;

@Controller
@RequestMapping(value="/api/")
public class AccountController {
	
	@Autowired
	private MultiAccountService multiAccountService;
	
	@Autowired
	private MultiAccountInfoService multiAccountInfoService;
	
	@Autowired
	private PersonInfoService personInfoService;
	
	public String updateAccount(MultiAccountInfo user) {
		
		if(user==null) {
			return "error";
		}
		
		String id=user.getAccountId();
		
		
		return null;
	}
	
	public String updateNickname(MultiAccountInfo user) {
		return null;
	}
	
	public String updatePersonInfo(PersonInfo info) {
		return null;
	}
	
	
}
